﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Veralkohol.Commons
{
    public class Persistence
    {
        public static IDiagramPersistence getPersistenceClass(bool remote)
        {
            if (remote)
            {
                return new RemotePersistence();
            }
            else
            {
                return new LocalPersistence();
            }
        }
    }
}
